import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {TemStyle1Component} from './tem-style1.component';

const routes: Routes = [
    {path: '', component: TemStyle1Component,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-tem-style1/add-tem-style1.module#AddTemStyle1Module'},
            {path: 'list', loadChildren: './list-tem-style1/list-tem-style1.module#ListTemStyle1Module'},
            {path: 'modify', loadChildren: './modify-tem-style1/modify-tem-style1.module#ModifyTemStyle1Module'},
            {path: 'report', loadChildren: './report-tem-style1/report-tem-style1.module#ReportTemStyle1Module'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class TemStyle1RoutingModule {
}
